﻿<%@ Page Language="C#" MasterPageFile="~/Template/Detail.master" AutoEventWireup="true"
    CodeFile="MonthlyDetail1.aspx.cs" Inherits="Page_MonthlyDetail1" Title="无标题页" %>

<%@ Register Src="~/Control/TabberHeader.ascx" TagName="TabberHeader" TagPrefix="wsc" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
    <style type="text/css">
        .btn
        {
            border-right: #2C59AA 1px solid;
            padding-right: 2px;
            border-top: #2C59AA 1px solid;
            padding-left: 2px;
            font-size: 12px;
            filter: progid:DXImageTransform.Microsoft.Gradient(GradientType=0, StartColorStr=#ffffff, EndColorStr=#C3DAF5);
            border-left: #2C59AA 1px solid;
            cursor: pointer;
            color: black;
            padding-top: 2px;
            border-bottom: #2C59AA 1px solid;
        }
    </style>
    <style media="print" type="text/css">
        .NotPrint
        {
            display: none;
        }
    </style>
    <script>
        function ChangeDetailView1() {
            var height = document.body.clientHeight;
            var infoDetail = document.getElementById("trInfo1");
            if (infoDetail.style.display == 'none') {
                document.getElementById("imgExpand1").src = "../Images/Icon/icon-collapse.png";
                infoDetail.style.display = '';
            }
            else {
                document.getElementById("imgExpand1").src = "../Images/Icon/icon-expand.png";
                infoDetail.style.display = 'none';
            }
            PageResize();
        }

        function ChangeDetailView2() {
            var height = document.body.clientHeight;
            var infoDetail = document.getElementById("trInfo2");
            if (infoDetail.style.display == 'none') {
                document.getElementById("imgExpand2").src = "../Images/Icon/icon-collapse.png";
                infoDetail.style.display = '';
            }
            else {
                document.getElementById("imgExpand2").src = "../Images/Icon/icon-expand.png";
                infoDetail.style.display = 'none';
            }
            PageResize();
        }
        function refreshParent() {
            window.parent.document.getElementById('ctl00$ListToolBarPlaceHolder$btnRefresh').click();
        }

       
    </script>
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ListToolBarPlaceHolder" runat="Server">
    <div style="display: none">
        <asp:TextBox ID="tbLeaderCode" runat="server"></asp:TextBox>
        <asp:Button ID="btnRefresh" runat="server" OnClick="btnRefresh_Click" />
    </div>
     
</asp:Content>
<asp:Content ID="Content3" ContentPlaceHolderID="TitleContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content4" ContentPlaceHolderID="InfoContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content5" ContentPlaceHolderID="TextContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content6" ContentPlaceHolderID="TabberContentPlaceHolder" runat="Server">
    <wsc:TabberHeader ID="thInfo" runat="server" DivID="div1" Title="科室周报内容" Selected="true" />
    <wsc:TabberHeader ID="thForm" runat="server" DivID="div2" Title="附件列表" />
</asp:Content>
<asp:Content ID="Content7" ContentPlaceHolderID="Div1ContentPlaceHolder" runat="Server">
    <table cellspacing="0" cellpadding="0" border="0" width="100%">
        <tr>
            <td class="DetailHeader">
                <table cellspacing="0" cellpadding="0" border="0" width="100%">
                    <tr>
                        <td class="ArticleTitle">
                            <asp:Literal ID="ltTitle" runat="server"></asp:Literal>
                        </td>
                        <td width="14">
                            <a href="#">
                                <img src="../Images/Icon/icon-collapse.png" alt="字段" style="cursor: pointer;" onclick="ChangeDetailView1();"
                                    id="imgExpand1" /></a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr id="trInfo1">
            <td>
                <table id="tblDetail1" width="100%" border="0" cellspacing="0" cellpadding="0">
                    
                    <tr>
                        <td class="DetailTitle">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>文号：</strong></a>
                                <asp:Literal ID="ltlSymbol" runat="server"></asp:Literal></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="DetailTitle">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>文件名称：</strong></a>
                                <asp:Literal ID="ltlFileName" runat="server"></asp:Literal></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="DetailTitle">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>发布时间：</strong></a>
                                <asp:Literal ID="ltlPublishTime" runat="server"></asp:Literal></div>
                        </td>
                    </tr>
                    <tr>
                        <td class="DetailTitle">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>主题词：</strong></a>
                                <asp:Literal ID="ltlKeywords" runat="server"></asp:Literal>
                            </div>
                        </td>
                    </tr>
                    <tr>
                        <td class="DetailTitle">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>正文：</strong></a>
                            </div>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr>
            <td valign="top">
                <div id="MainContent1" class="Content ScrollDiv">
                    <asp:Literal ID="ltlContent" runat="server"></asp:Literal>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content8" ContentPlaceHolderID="Div2ContentPlaceHolder" runat="Server">
    <table cellspacing="0" cellpadding="0" border="0" class="" width="100%">
        <tr>
            <td class="DetailHeader">
                <table cellspacing="0" cellpadding="0" border="0" width="100%">
                    <tr>
                        <td class="ArticleTitle">
                            <asp:Literal ID="ltTitle2" runat="server"></asp:Literal>
                        </td>
                        <td width="14">
                            <a href="#">
                                <img src="../Images/Icon/icon-collapse.png" alt="字段" style="cursor: pointer;" onclick="ChangeDetailView2();"
                                    id="imgExpand2" /></a>
                        </td>
                    </tr>
                </table>
            </td>
        </tr>
        <tr id="trInfo2">
            <td>
                <table id="tblDetail2" width="100%" border="0" cellspacing="0" cellpadding="0">
                    <tr>
                        <td class="DetailTitle" style="width: 20%">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>&nbsp;附件名称</strong></a>
                            </div>
                        </td>
                        <td class="DetailTitle" style="width: 20%">
                            <div class="fixWidth2">
                                <a class="blue-01"><strong>&nbsp;上传时间</strong></a>
                            </div>
                        </td>
                    </tr>
                </table>
                <div style="overflow-y: auto; height: 335px; width: 100%">
                    <table id="Table1" width="100%" border="0" cellspacing="0" cellpadding="0">
                        <asp:Repeater ID="rptAttachmentList" runat="server">
                            <ItemTemplate>
                                <tr class="Normal" oldclass="Normal" onmouseover="OverChangeClass(this);" onmouseout="ReturnClass(this)">
                                    <td class="DetailTitle" style="width: 20%">
                                        <div class="fixWidth2">
                                            &nbsp;<a href="<%# Eval("PhysicalUrl")%>" target="_blank"><%# Eval("DisplayName")%></a></div>
                                    </td>
                                    <td class="DetailTitle" style="width: 20%">
                                        <div class="fixWidth2">
                                            &nbsp;<%# Eval("UploadTime","{0:yyyy-MM-dd HH:mm:ss}")%></div>
                                    </td>
                                </tr>
                            </ItemTemplate>
                        </asp:Repeater>
                    </table>
                </div>
            </td>
        </tr>
    </table>
</asp:Content>
<asp:Content ID="Content9" ContentPlaceHolderID="Div3ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content10" ContentPlaceHolderID="Div4ContentPlaceHolder" runat="Server">
</asp:Content>
<asp:Content ID="Content11" ContentPlaceHolderID="Div5ContentPlaceHolder" runat="Server">
</asp:Content>
